using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace PiratesOfBermuda
{
    public class Rubble : MySprite
    {
        private bool isActive;

        public bool IsActive
        {
            get { return isActive; }
            set { isActive = value; }
        }

        public Rubble(Game game, SpriteBatch spriteBatch, int x, int y)
            : base(game, spriteBatch)
        {
            _name = "Rubble";
            this.X = x;
            this.Y = y;
            isActive = false;
        }

        public override void Initialize()
        {
            base.Initialize(@"Textures/MainGameplay/rubble1", new Rectangle(0, 0, 40, 40), new Point(12, 1), new Point(X, Y));
            base.Initialize();
        }
    }
}
